import * as api from "@/utils/Api";


// 登录
export async function login(data: any) {
    const url = '/user/login';
    return api.POST(url, data);;

}
// 获取用户数据
export async function queryUserInfo() {
    const url = '/user/queryUserInfo';
    return api.GET(url);

}
// 获取用户菜单
export async function queryUserMenu(){
    const url = '/user/queryUserMenu';
    return api.GET(url);

}